import axios from '@/libs/api.request'

// 时间转换为日期-> 2019-02-02
export function date2str (date, containtime) {
  if (!date || typeof date === 'string') {
    return date
  }
  var time1 = date.getFullYear()
  var month = date.getMonth() + 1
  var day = date.getDate()
  time1 += '-' + (month < 10 ? '0' + month : month)
  time1 += '-' + (day < 10 ? '0' + day : day)
  return time1
}
// 生成uuid
export function getUuid () {
  var s = []
  var hexDigits = '0123456789abcdef'
  for (var i = 0; i < 36; i++) {
    s[i] = hexDigits.substr(Math.floor(Math.random() * 0x10), 1)
  }
  s[14] = '4' // bits 12-15 of the time_hi_and_version field to 0010
  s[19] = hexDigits.substr((s[19] & 0x3) | 0x8, 1) // bits 6-7 of the clock_seq_hi_and_reserved to 01
  s[8] = s[13] = s[18] = s[23] = '-'
  var uuid = s.join('')
  return uuid
}
export function date0str (date, containtime) {
  if (!date || typeof date === 'string') {
    return date
  }
  var time1 = date.getFullYear()
  var month = date.getMonth() + 1
  var day = date.getDate()
  var hour = date.getHours()
  var min = date.getMinutes()
  time1 += '-' + (month < 10 ? '0' + month : month)
  time1 += '-' + (day < 10 ? '0' + day : day)
  time1 += ' ' + (hour < 10 ? '0' + hour : hour)
  time1 += ':' + (min < 10 ? '0' + min : min)
  return time1
}
// 电子证照获取图片
export const getImgInfoForDz = (param) => {
  return axios.request({
    url: 'http://10.40.20.4:8081/api/uc/mzsc/uploadService/getImgInfo',
    method: 'post',
    data: param
  })
}
// 可办理的事项列表
export const eventlist = (param) => {
  return axios.request({
    url: '/api/as/grid/audititem/list',
    method: 'post',
    data: param
  })
}
// 事项id获取事项详细信息
export const iteminf = (param) => {
  return axios.request({
    url: '/api/ac/grid/auditItemService/itemInfo',
    method: 'post',
    data: param
  })
}
// 获取医保跳转链接
export const yiBaoToken = (param) => {
  return axios.request({
    url: '/api/ac/grid/yiBaoWuMiService/createGetToken',
    method: 'post',
    data: param
  })
}
// 获取人社跳转链接
export const renSheToken = (param) => {
  return axios.request({
    url: '/api/ac/grid/renSheWuMiService/createGetToken',
    method: 'post',
    data: param
  })
}
// 获取特困跳转链接
export const teKunToken = (param) => {
  return axios.request({
    url: '/api/ac/grid/teKunWuMiService/createGetToken',
    method: 'post',
    data: param
  })
}
// 身份证号获取用户信息
export const userinfo = (cardno) => {
  return axios.request({
    // url: '/api/as/grid/user/getuserinfobycardno',
    url: '/api/ac/grid/userRegisterService/desensitization',
    method: 'post',
    data: {
      'cardno': cardno
    }
  })
}
// 注册用户信息
export const createuser = (param) => {
  return axios.request({
    url: '/api/ac/grid/userRegisterService/createUser',
    method: 'post',
    data: param
  })
}
// 更新用户头像
export const updatePhotoByCardno = (param) => {
  return axios.request({
    url: '/api/as/grid/user/updatePhotoByCardno',
    method: 'post',
    data: param
  })
}
// 订单流程
export const orderProcess = (param) => {
  return axios.request({
    url: '/api/as/grid/auditorder/getOrderProcessList',
    method: 'post',
    data: param
  })
}
// 事项订单列表
export const eventorderlist = (param) => {
  return axios.request({
    url: '/api/as/grid/auditorder/orderlist',
    method: 'post',
    data: param
  })
}
// 已下单事项的各步骤状态变更
export const setorderapply = (param) => {
  return axios.request({
    url: '/api/ac/grid/auditOrderService/setOrderApply',
    method: 'post',
    data: param
  })
}
// 查询页面所需初始下拉数据
export const getAppraising = (param) => {
  return axios.request({
    url: '/api/ac/grid/createPostService/getAppraising',
    method: 'post',
    data: param
  })
}
// 特困事项查询字典
export const getTKAppraising = (param) => {
  return axios.request({
    url: '/api/ac/grid/createPostService/getTKAppraising',
    method: 'post',
    data: param
  })
}
// 查询行政规划信息
export const getAdministrativePlanning = (param) => {
  return axios.request({
    url: '/api/ac/grid/createPostService/getAdministrativePlanning',
    method: 'post',
    data: param
  })
}
// 请求调用民政接口
export const createPostNew = (param) => {
  return axios.request({
    url: '/api/ac/grid/createPostService/createPostNew',
    method: 'post',
    data: param
  })
}
export const getIdcard = (param) => {
  return axios.request({
    url: '/api/ac/grid/createPostService/getIdcard',
    method: 'post',
    data: param
  })
}
export const findFamilyList = (param) => {
  return axios.request({
    url: '/api/ac/grid/createPostService/findFamilyList',
    method: 'post',
    data: param
  })
}
export const getBack = (param) => {
  return axios.request({
    url: '/api/ac/grid/createPostService/getBack',
    method: 'post',
    data: param
  })
}
// 统计每个类型的事项数量，用于tab标签页
export const tabcount = () => {
  return axios.request({
    url: '/api/as/grid/auditorder/getTabCountList',
    method: 'get'
  })
}
// 收受分离页面的事项数量，用于tab标签页
export const tabcounts = () => {
  return axios.request({
    url: '/api/as/grid/auditorder/getTabCountSList',
    method: 'get'
  })
}
// 查询收受分离事项列表
export const separateorder = (param) => {
  return axios.request({
    url: '/api/ac/grid/auditOrderService/getSeparateList',
    method: 'post',
    data: param
  })
}
// 临时方案，定时查询收受分离事项
export const getSeparateNotice = () => {
  return axios.request({
    url: '/api/as/grid/auditorder/getNoticeList',
    method: 'get'
  })
}
// 临时方案，用户点击提示框的关闭或者查看都表示已读
export const setSeparateNotice = (id) => {
  return axios.request({
    url: '/api/as/grid/auditorder/setFlowSee',
    method: 'post',
    data: { id: id }
  })
}
// 事项下单
export const createOrder = (param) => {
  return axios.request({
    url: '/api/ac/grid/auditOrderService/createOrder',
    method: 'post',
    data: param
  })
}
// 修改订单入参
export const updateOrder = (param) => {
  return axios.request({
    url: '/api/ac/grid/auditOrderService/updateOrder',
    method: 'post',
    data: param
  })
}
// 删除订单
export const deleteOrder = (param) => {
  return axios.request({
    url: '/api/ac/grid/auditOrderService/deleteOrder',
    method: 'post',
    data: { code: param }
  })
}

// 根据身份证获取用户的头像
export const getAaaa = (param) => {
  return axios.request({
    url: '/api/ac/grid/createPostService/save',
    method: 'post',
    data: param
  })
}
// 左侧的菜单，孩子模式
export const treelist = () => {
  return axios.request({
    url: '/api/ac/grid/auditItemService/treelist'
  })
}
// 通讯录
export const mailList = (data) => {
  return axios.request({
    data: data,
    url: '/api/as/grid/audititem/mailList',
    method: 'post'
  })
}
// 知识库列表
export const knowledgeList = (param) => {
  return axios.request({
    url: '/api/as/grid/auditorder/knowledgeList',
    method: 'post',
    data: param
  })
}
// 添加知识库内容
export const createKnowledge = (param) => {
  return axios.request({
    url: '/api/as/grid/auditorder/createKnowledge',
    method: 'post',
    data: param
  })
}
// 知识库详情
export const getKnowledgeInfo = (param) => {
  return axios.request({
    url: '/api/as/grid/auditorder/getKnowledgeInfo',
    method: 'post',
    data: param
  })
}
// 删除知识库
export const delKnowledge = (param) => {
  return axios.request({
    url: '/api/as/grid/auditorder/delKnowledge',
    method: 'post',
    data: param
  })
}
// 查询不同级别的通讯录列表
export const getMailLevelList = (param) => {
  return axios.request({
    url: '/api/as/grid/auditmail/getMailLevelList',
    method: 'post',
    data: param
  })
}
// 订单统计接口
export const getCompanyCountList = (param) => {
  return axios.request({
    url: '/api/ac/grid/auditOrderService/getCompanyCountList',
    method: 'post',
    data: param
  })
}
// 订单统计分页接口
export const getCompanyCountPageList = (param) => {
  return axios.request({
    url: '/api/ac/grid/auditOrderService/getCompanyCountPageList',
    method: 'post',
    data: param
  })
}
// 订单统计导出接口
export const getCompanyCountExcelList = (param) => {
  return axios.request({
    url: '/api/ac/grid/auditOrderService/getCompanyCountExcelList',
    method: 'post',
    data: param
  })
}
// 事项办理时限统计
export const getNewOrderAvgTimeList = (param) => {
  return axios.request({
    url: '/api/ac/grid/auditOrderService/getOrderAvgTimeList',
    method: 'post',
    data: param
  })
}
// 工作量统计接口
export const getWorkList = (param) => {
  return axios.request({
    url: '/api/ac/grid/auditOrderService/getWorkList',
    method: 'post',
    data: param
  })
}
// 工作量统计订单列表
export const findWorkOrderList = (param) => {
  return axios.request({
    url: '/api/as/grid/auditorder/findWorkOrderList',
    method: 'post',
    data: param
  })
}
// 工作量统计订单列表导出excel
export const findWorkOrderToExcelList = (param) => {
  return axios.request({
    url: '/api/as/grid/auditorder/findWorkOrderToExcelList',
    method: 'post',
    data: param
  })
}
// 事项统计列表
export const getPeriodList = (param) => {
  return axios.request({
    url: '/api/as/grid/auditorder/getPeriodList',
    method: 'post',
    data: param
  })
}
// 事项统计之后-每个事项的办理人员名单列表
export const getItemHandleList = (param) => {
  return axios.request({
    url: '/api/as/grid/auditorder/getItemHandleList',
    method: 'post',
    data: param
  })
}
// 事项统计之后-每个事项的办理人员名单列表
export const getItemHandleToExcelList = (param) => {
  return axios.request({
    url: '/api/as/grid/auditorder/getItemHandleToExcelList',
    method: 'post',
    data: param
  })
}
// 月度受理趋势图111
export const getMonthAcceptList = (param) => {
  return axios.request({
    url: '/api/as/grid/auditorder/getMonthAcceptList',
    method: 'post',
    data: param
  })
}
// 月周日度受趋势图
export const getAcceptList = (param) => {
  return axios.request({
    url: '/api/ac/grid/auditOrderService/getAcceptList',
    method: 'post',
    data: param
  })
}
// 获取电子证照图片
export const getDzzzImg = (param) => {
  return axios.request({
    url: '/api/ac/grid/auditOrderService/getDzzzImg',
    method: 'post',
    data: param
  })
}
// 获取电子证照图片
export const getPDFByOrderCode = (param) => {
  return axios.request({
    url: '/api/ac/grid/htmlPicService/setPDFByOrderCode',
    method: 'post',
    data: param
  })
}
// 事项id和订单编号获取事项的要件信息
export const itemParamByOrderList = (param) => {
  return axios.request({
    url: '/api/ac/grid/auditItemService/itemParamByOrderList',
    method: 'post',
    await: true,
    data: param
  })
}
// 通知公告列表
export const noticeList = (param) => {
  return axios.request({
    url: '/api/as/grid/auditnotice/noticeList',
    method: 'post',
    data: param
  })
}
// 保存通知公告
export const saveNotice = (param) => {
  return axios.request({
    url: '/api/ac/grid/noticeService/saveNotice',
    method: 'post',
    data: param
  })
}
// 通知公告发布和撤销
export const setReleaseState = (param) => {
  return axios.request({
    url: '/api/as/grid/auditnotice/setReleaseState',
    method: 'post',
    data: param
  })
}
// 删除通知公告
export const deleteNotice = (param) => {
  return axios.request({
    url: '/api/as/grid/auditnotice/deleteNotice',
    method: 'post',
    data: param
  })
}
// 事项列表
export const itemList = (param) => {
  return axios.request({
    url: '/api/as/grid/audititemoption/itemList',
    method: 'post',
    data: param
  })
}
// 修改事项
export const saveItem = (param) => {
  return axios.request({
    url: '/api/ac/grid/ItemOptionService/saveItem',
    method: 'post',
    data: param
  })
}
// 废弃事项
export const delFeiqi = (param) => {
  return axios.request({
    url: '/api/as/grid/audititemoption/delFeiqi',
    method: 'post',
    data: param
  })
}
// 修改事项要件
export const updateItemDoc = (param) => {
  return axios.request({
    url: '/api/ac/grid/ItemOptionService/updateItemDoc',
    method: 'post',
    data: param
  })
}
// 社区列表
export const getUserByMZList = (param) => {
  return axios.request({
    url: '/api/as/sc/office/getUserByMZList',
    method: 'post',
    data: param
  })
}
// 二维码地址
export const getCodeUrl = (company_code, loginName) => {
  return axios.request({
    url: 'https://txy.sylyx.cn/Api/Api/getQrcode/wxid/123/code/mzj-' + company_code + '-' + loginName + '/type/on',
    params: {},
    method: 'get',
    php: true
  })
}
// 网格用户-树
export const grid = (param) => {
  return axios.request({
    url: '/api/as/grid/auditmail/uslist',
    method: 'get',
    data: param
  })
}
// 网格用户-楼单元层
export const auditmailfloor_getdownlist = (param) => {
  return axios.request({
    url: '/api/as/grid/auditmailfloor/getdownlist',
    method: 'post',
    data: param
  })
}
// 网格用户-商户
export const auditmailcompany_uslist = (param) => {
  return axios.request({
    url: '/api/as/grid/auditmailcompany/uslist',
    method: 'post',
    data: param
  })
}
// 网格用户-户信息
export const auditmailfloor_userlist = (param) => {
  return axios.request({
    url: '/api/as/grid/auditmailfloor/userlist',
    method: 'post',
    await: true,
    data: param
  })
}
// 网格用户-搜索
export const auditmailfloor_getuserlist = (param) => {
  return axios.request({
    url: '/api/as/grid/auditmailfloor/getuserlist',
    method: 'post',
    data: param
  })
}
// 网格用户-搜索详情
export const auditmailfloor_getuserinfo = (param) => {
  return axios.request({
    url: '/api/as/grid/auditmailfloor/getuserinfo',
    method: 'post',
    data: param
  })
}
// 网格用户-查询户数
export const auditmailfloor_gethousenum = (param) => {
  return axios.request({
    url: '/api/as/grid/auditmailfloor/gethousenum',
    method: 'post',
    await: true,
    data: param
  })
}
// 网格用户-查询户数（默认）--废弃
export const auditmailfloor_getone = (param) => {
  return axios.request({
    url: '/api/as/grid/auditmailfloor/getone',
    method: 'post',
    data: param
  })
}
// 网格用户-根据单元查户列表
export const auditmailfloor_userbyunitidlist = (param) => {
  return axios.request({
    url: '/api/as/grid/auditmailfloor/userbyunitidlist',
    method: 'post',
    data: param
  })
}
// 网格管理-树
export const grid_maintain = (param) => {
  return axios.request({
    url: '/api/as/grid/auditmail/list',
    method: 'get',
    data: param
  })
}
// 网格管理-下级列表-小组以上
export const grid_downlist = (param) => {
  return axios.request({
    url: '/api/as/grid/auditmail/downlist',
    method: 'post',
    data: param
  })
}
// 网格管理-下级列表-小组以下
export const grid_downlist_floor = (param) => {
  return axios.request({
    url: '/api/as/grid/auditmailfloor/downlist',
    method: 'post',
    data: param
  })
}
// 网格管理-层户查询
export const auditMailFloorService_layerList = (param) => {
  return axios.request({
    url: '/api/ac/grid/auditMailFloorService/layerList',
    method: 'post',
    data: param
  })
}
// 网格管理-创建-小组以上
export const grid_maintain_create = (param) => {
  return axios.request({
    url: '/api/as/grid/auditmail/create',
    method: 'post',
    data: param
  })
}
// 网格管理-删除-小组以上
export const auditMailFloorService_delete = (param) => {
  return axios.request({
    url: '/api/ac/grid/auditMailFloorService/delete',
    method: 'post',
    data: param
  })
}
// 网格管理-创建-小组以下
export const grid_maintain_create_floor = (param) => {
  return axios.request({
    url: '/api/ac/grid/auditMailFloorService/createFloor',
    method: 'post',
    data: param
  })
}
// 网格管理-创建-小组以下(层户)
export const grid_maintain_create_floor_ceng = (param) => {
  return axios.request({
    url: '/api/ac/grid/auditMailFloorService/create',
    method: 'post',
    data: param
  })
}
// 网格管理-创建企业
export const auditmailcompany_create = (param) => {
  return axios.request({
    url: '/api/as/grid/auditmailcompany/create',
    method: 'post',
    data: param
  })
}
// 网格管理-查询企业
export const auditmailcompany_list = (param) => {
  return axios.request({
    url: '/api/as/grid/auditmailcompany/list',
    method: 'post',
    data: param
  })
}
// 网格管理-添加修改层户
export const auditmailfloor_create = (param) => {
  return axios.request({
    url: '/api/as/grid/auditmailfloor/create',
    method: 'post',
    await: true,
    data: param
  })
}
// 网格管理-删除单元层户
export const auditmailfloor_updatedelfloor = (param) => {
  return axios.request({
    url: '/api/as/grid/auditmailfloor/updatedelfloor',
    method: 'post',
    data: param
  })
}
// 电子证照列表
export const visalist = (param) => {
  return axios.request({
    url: '/api/as/grid/auditelectronic/visalist',
    method: 'post',
    data: param
  })
}
// 更新电子证照列表
export const updateVisa = (param) => {
  return axios.request({
    url: '/api/as/grid/auditelectronic/updateVisa',
    method: 'post',
    data: param
  })
}
// 配置医保列表
export const yibaoList = (param) => {
  return axios.request({
    url: '/api/as/grid/auditelectronic/yibaoList',
    method: 'post',
    data: param
  })
}
// 配置医保列表
export const rensheList = (param) => {
  return axios.request({
    url: '/api/as/grid/auditelectronic/rensheList',
    method: 'post',
    data: param
  })
}
// 更新电子证照列表
export const updateYibao = (param) => {
  return axios.request({
    url: '/api/as/grid/auditelectronic/updateYibao',
    method: 'post',
    data: param
  })
}
// 更新人社列表
export const updateRenshe = (param) => {
  return axios.request({
    url: '/api/as/grid/auditelectronic/updateRenshe',
    method: 'post',
    data: param
  })
}

// 配置房产租赁列表
export const fczhulinList = (param) => {
  return axios.request({
    url: '/api/as/grid/auditelectronic/fczhulinList',
    method: 'post',
    data: param
  })
}
// 更新房产租赁列表
export const updateFczhulin = (param) => {
  return axios.request({
    url: '/api/as/grid/auditelectronic/updateFczhulin',
    method: 'post',
    data: param
  })
}
// 事项更新列表
export const itemUpdateList = (param) => {
  return axios.request({
    url: '/api/as/grid/audititemoption/itemUpdateList',
    method: 'post',
    data: param
  })
}
// 事项更新列表
export const getItemUpdateInfo = (param) => {
  return axios.request({
    url: '/api/ac/grid/auditItemService/getItemUpdateInfo',
    method: 'post',
    data: param
  })
}
// 添加流程类型
export const insertProcessType = (param) => {
  return axios.request({
    url: '/api/as/grid/auditprocess/insertProcessType',
    method: 'post',
    data: param
  })
}
// 删除流程类型
export const deleteProcessType = (param) => {
  return axios.request({
    url: '/api/as/grid/auditprocess/deleteProcessType',
    method: 'post',
    data: param
  })
}
// 更新流程类型
export const updateProcessType = (param) => {
  return axios.request({
    url: '/api/as/grid/auditprocess/updateProcessType',
    method: 'post',
    data: param
  })
}
// 查看流程类型列表(分页)
export const findProcessTypeList = (param) => {
  return axios.request({
    url: '/api/as/grid/auditprocess/findProcessTypeList',
    method: 'post',
    data: param
  })
}
// 查看流程类型列表
export const findProcessTypeAllList = (param) => {
  return axios.request({
    url: '/api/as/grid/auditprocess/findProcessTypeAllList',
    method: 'post',
    data: param
  })
}
// 查看流程类型详情
export const getProcessTypeInfo = (param) => {
  return axios.request({
    url: '/api/as/grid/auditprocess/getProcessTypeInfo',
    method: 'post',
    data: param
  })
}
// 添加流程信息
export const insertProcessInfo = (param) => {
  return axios.request({
    url: '/api/as/grid/auditprocess/insertProcessInfo',
    method: 'post',
    data: param
  })
}
// 删除流程信息
export const deleteProcessInfo = (param) => {
  return axios.request({
    url: '/api/as/grid/auditprocess/deleteProcessInfo',
    method: 'post',
    data: param
  })
}
// 更新流程信息
export const updateProcessInfo = (param) => {
  return axios.request({
    url: '/api/as/grid/auditprocess/updateProcessInfo',
    method: 'post',
    data: param
  })
}
// 获取流程类型信息
export const findProcessInfoList = (param) => {
  return axios.request({
    url: '/api/as/grid/auditprocess/findProcessInfoList',
    method: 'post',
    data: param
  })
}
// 获取流程类型信息
export const findProcessInfoAllList = (param) => {
  return axios.request({
    url: '/api/as/grid/auditprocess/findProcessInfoAllList',
    method: 'post',
    data: param
  })
}
// 查看流程类型信息
export const getProcessInfoInfo = (param) => {
  return axios.request({
    url: '/api/as/grid/auditprocess/getProcessInfoInfo',
    method: 'post',
    data: param
  })
}
// 添加流程信息
export const insertProcess = (param) => {
  return axios.request({
    url: '/api/as/grid/auditprocess/insertProcess',
    method: 'post',
    data: param
  })
}
// 删除流程信息
export const deleteProcess = (param) => {
  return axios.request({
    url: '/api/as/grid/auditprocess/deleteProcess',
    method: 'post',
    data: param
  })
}
// 更新流程信息
export const updateProcess = (param) => {
  return axios.request({
    url: '/api/as/grid/auditprocess/updateProcess',
    method: 'post',
    data: param
  })
}
// 获取流程类型信息
export const findProcessPageList = (param) => {
  return axios.request({
    url: '/api/as/grid/auditprocess/findProcessPageList',
    method: 'post',
    data: param
  })
}
// 获取订单流程列表
export const getKefuOrderProcessList = (param) => {
  return axios.request({
    url: '/api/as/grid/auditorder/getKefuOrderProcessList',
    method: 'post',
    data: param
  })
}
// 第三方订单重新推送
export const updateSendAgain = (param) => {
  return axios.request({
    url: '/api/as/grid/auditorder/updateSendAgain',
    method: 'post',
    data: param
  })
}
// 获取api列表
export const getAllApi = (param) => {
  return axios.request({
    url: '/api/ac/grid/gridGetApiService/getApiList',
    method: 'post',
    data: param
  })
}
// 查看流程类型信息
export const findProcessList = (param) => {
  return axios.request({
    url: '/api/as/grid/auditprocess/findProcessList',
    method: 'post',
    data: param
  })
}
// 查看流程组详细信息
export const findGroupProcessList = (param) => {
  return axios.request({
    url: '/api/as/grid/auditprocess/findGroupProcessList',
    method: 'post',
    data: param
  })
}
// 更新事项信息，包含更新要件
export const updateItem = (param) => {
  return axios.request({
    url: '/api/ac/grid/auditItemService/updateItem',
    method: 'post',
    data: param
  })
}
export const byRowidList = (param) => {
  return axios.request({
    url: '/api/as/grid/questionconsultation/byRowidList',
    method: 'post',
    data: param
  })
}
export const byQlnameInfo = (param) => {
  return axios.request({
    url: '/api/as/grid/questionconsultation/byQlnameInfoList',
    method: 'post',
    data: param
  })
}

export const findStreetNum = (param) => {
  return axios.request({
    url: '/api/ac/grid/QuestionConsultationService/findStreetNum',
    method: 'post',
    data: param
  })
}
export const getSomeNum = (param) => {
  return axios.request({
    url: '/api/ac/grid/auditOrderService/getSomeNum',
    method: 'post',
    data: param
  })
}

export const dycgetSomeNum = (param) => {
  return axios.request({
    url: 'http://124.95.133.242:33681/api/us/dyc/issuancestatistics/getSomeNum',
    method: 'post',
    data: param
  })
}

export const byCreatebyInfoList = (param) => {
  return axios.request({
    url: '/api/as/grid/questionconsultation/byCreatebyInfoList',
    method: 'post',
    data: param
  })
}
export const getAgentAppointInfo = (param) => {
  return axios.request({
    url: '/api/as/grid/auditagentappoint/getAgentAppointInfo',
    method: 'post',
    data: param
  })
}
export const findAgentAppointList = (param) => {
  return axios.request({
    url: '/api/as/grid/auditagentappoint/findAgentAppointList',
    method: 'post',
    data: param
  })
}
export const findDealableItem = (param) => {
  return axios.request({
    url: '/api/ac/grid/auditItemService/findDealableItem',
    method: 'post',
    data: param
  })
}
// 查低保详情接口
export const getAssistanceInfo = (param) => {
  return axios.request({
    url: '/api/ac/grid/createPostService/getAssistanceInfo',
    method: 'post',
    data: param
  })
}
// 查询是否是残疾人详情接口
export const findCanlian = (param) => {
  return axios.request({
    url: '/api/ac/dyc/streeAllServiceImpl/findCanlian',
    method: 'post',
    data: param
  })
}

// 查询户籍详情接口
export const getRegisterInfo = (param) => {
  return axios.request({
    url: '/api/ac/grid/auditRegisterService/getRegisterInfo',
    method: 'post',
    data: param
  })
}
// 查询工伤护理费详情接口
export const getOccupationalInfo = (param) => {
  return axios.request({
    url: '/api/ac/grid/disabliityCheckService/getOccupationalInfo',
    method: 'post',
    data: param
  })
}
// 查询是否办理过残疾人事项接口
export const getInfoByCard = (param) => {
  return axios.request({
    url: '/api/as/grid/ejdm/infoByCardList',
    method: 'post',
    data: param
  })
}
// 查询是否为孤儿
export const getOrphanByCard = (param) => {
  return axios.request({
    url: '/api/as/grid/ejdm/getOrphanByCard',
    method: 'post',
    data: param
  })
}
// 查询是否为特困人员
export const getDifficultyByCard = (param) => {
  return axios.request({
    url: '/api/as/grid/ejdm/getDifficultyByCard',
    method: 'post',
    data: param
  })
}
// 查询殡葬详情接口
export const getFuneralInfo = (param) => {
  return axios.request({
    url: '/api/ac/dyc/abutmentService/getFuneralInfo',
    method: 'post',
    data: param
  })
}
// 查询社区编码接口
export const communityInfo = (param) => {
  return axios.request({
    url: '/api/as/grid/houseinfo/communityInfo',
    method: 'post',
    data: param
  })
}
// 获取户籍地区县code接口
export const getSQCodeFc = (param) => {
  return axios.request({
    url: '/api/as/grid/auditorderother/getSQCodeFc ',
    method: 'post',
    data: param
  })
}
// 获取户籍地区县街道社区地址接口
export const getSQCode = (param) => {
  return axios.request({
    url: '/api/as/grid/auditorderother/getSQCode ',
    method: 'post',
    data: param
  })
}
// 数据字典
export const codeList = (param) => {
  return axios.request({
    url: '/api/us/grid/ejdm/codeList',
    method: 'post',
    data: param
  })
}
// 树形数据
export const getCompanyMenuList = (param) => {
  return axios.request({
    url: '/api/ac/sc/menuService/getCompanyMenuList',
    method: 'post',
    data: param
  })
}
// 全市通办房产租赁事项
export const createFangChanLogin = (param) => {
  return axios.request({
    url: '/api/ac/grid/fangChanZuLinWuMiService/createFangChanLogin',
    method: 'post',
    data: param
  })
}
// 新上传图片地址
export const createUpLoadFiles = (param) => {
  return axios.request({
    url: '/api/ac/grid/auditHadoopUploadFilesService/createUpLoadFiles',
    method: 'post',
    data: param
  })
}
// 新上传图片地址
export const createDisabilityApi = (param) => {
  return axios.request({
    url: '/api/ac/grid/createDisabilityOrderService/createDisabilityApi',
    method: 'post',
    data: param
  })
}
// 时限统计
export const getOrderAvgTimeList = (param) => {
  return axios.request({
    url: '/api/as/grid/auditorder/getOrderAvgTimeList',
    method: 'post',
    data: param
  })
}
export const deleteOrderAndSaveLog = (param) => {
  return axios.request({
    url: '/api/ac/grid/auditOrderService/deleteOrderAndSaveLog',
    method: 'post',
    data: param
  })
}
export const getTKAttachmentConfigsk = (param) => {
  return axios.request({
    url: '/api/ac/grid/createPostService/getTKAttachmentConfigsk',
    method: 'post',
    data: param
  })
}
export const createcopyOrderInfo = (param) => {
  return axios.request({
    url: '/api/ac/grid/auditOrderService/createcopyOrderInfo',
    method: 'post',
    data: param
  })
}
// 办理事项列表（分页接口)
export const getPeriodOneList = (param) => {
  return axios.request({
    url: '/api/as/grid/auditorder/getPeriodOneList',
    method: 'post',
    data: param
  })
}
// 导出办理事项列表
export const getPeriodToExcelList = (param) => {
  return axios.request({
    url: '/api/as/grid/auditorder/getPeriodToExcelList',
    method: 'post',
    data: param
  })
}
// 保存社区人口数量
export const savePopulationNum = (param) => {
  return axios.request({
    url: '/api/ac/grid/autoPopulationNumService/save',
    method: 'post',
    data: param
  })
}
// 获取社区人口信息
export const getPopulationNum = (param) => {
  return axios.request({
    url: '/api/as/grid/auditpopulationnum/getPopulationNum',
    method: 'post',
    data: param
  })
}
// 获取社区人口信息变更记录
export const findPopulationNumLogList = (param) => {
  return axios.request({
    url: '/api/as/grid/auditpopulationnum/findPopulationNumLogList',
    method: 'post',
    data: param
  })
}
export const createCopyFiles = (param) => {
  return axios.request({
    url: '/api/ac/grid/auditHadoopUploadFilesService/createCopyFiles',
    method: 'post',
    data: param
  })
}
export const getDepositInfo = (param) => {
  return axios.request({
    url: '/api/ac/grid/auditJyzDzzzService/updateDepositInfo',
    method: 'post',
    data: param
  })
}
// 办结率
export const getForwardRateList = (param) => {
  return axios.request({
    url: '/api/as/grid/auditorder/getForwardRateList',
    method: 'post',
    data: param
  })
}
export const getOrderByCode = (param) => {
  return axios.request({
    url: '/api/as/grid/auditorder/getOrderByCode',
    method: 'post',
    data: param
  })
}
// 客服查询订单信息
export const getOrderInfoBycodeForKefu = (param) => {
  return axios.request({
    url: '/api/ac/grid/auditOrderService/getOrderInfoBycodeForKefu',
    method: 'post',
    data: param
  })
}
// 客服查询订单信息
export const findMerchantUpList = (param) => {
  return axios.request({
    url: '/api/as/grid/gridLevel/findMerchantUpList',
    method: 'post',
    data: param
  })
}
// 获取用户列表
export const findUserList = (param, url) => {
  return axios.request({
    url: url,
    method: 'post',
    data: param
  })
}
// 字典表接口
export const getDictList = (data) => {
  return axios.request({
    url: '/api/as/sc/dict/getDictList',
    method: 'post',
    data: data
  })
}
// 要件沉淀信息列表
export const findDocumentDepositList = (param) => {
  return axios.request({
    url: '/api/as/grid/auditDocumentDeposit/findDepositInfoList',
    method: 'post',
    data: param
  })
}
// 删除沉淀信息
export const deleteDocument = (param) => {
  return axios.request({
    url: '/api/as/grid/auditDocumentDeposit/deleteDocument',
    method: 'post',
    data: param
  })
}
// 修改沉淀信息
export const updateDocument = (param) => {
  return axios.request({
    url: '/api/as/grid/auditDocumentDeposit/updateDocument',
    method: 'post',
    data: param
  })
}
export const findItemList = (param) => {
  return axios.request({
    url: '/api/as/grid/questionconsultation/findItemList',
    method: 'post',
    data: param
  })
}
export const findGuestionConsultationMyList = (param) => {
  return axios.request({
    url: '/api/as/grid/questionconsultation/findGuestionConsultationMyList',
    method: 'post',
    data: param
  })
}
export const createQuestionConsultation = (param) => {
  return axios.request({
    url: '/api/as/grid/questionconsultation/createQuestionConsultation',
    method: 'post',
    data: param
  })
}
export const byIdInfo = (param) => {
  return axios.request({
    url: '/api/as/grid/questionconsultation/byIdInfo',
    method: 'post',
    data: param
  })
}
export const updateInfoById = (param) => {
  return axios.request({
    url: '/api/as/grid/questionconsultation/updateInfoById',
    method: 'post',
    data: param
  })
}

// 排队列表
export const auditlineup = (data) => {
  return axios.request({
    url: ' /api/as/grid/auditlineup/findLineUpPageList',
    method: 'post',
    data: data
  })
}
// 获取当前号序
export const getNowLineNoByloginName = (data) => {
  return axios.request({
    url: ' /api/as/grid/auditlineup/getNowLineNoByloginName',
    method: 'post',
    data: data
  })
}
// 完成并暂停
export const updateEnd = (data) => {
  return axios.request({
    url: ' /api/ac/grid/lineUpService/updateEnd',
    method: 'post',
    data: data
  })
}
// 排队列表
export const updateNext = (data) => {
  return axios.request({
    url: ' /api/ac/grid/lineUpService/updateNext',
    method: 'post',
    data: data
  })
}
// 无密登录log列表
export const findLogAmlList = (data) => {
  return axios.request({
    url: '/api/as/grid/auditwumilog/findLogAmlList',
    method: 'post',
    data: data
  })
}
// 保存免密登录log
export const createWumiLog = (data) => {
  return axios.request({
    url: '/api/as/grid/auditwumilog/createWumiLog',
    method: 'post',
    data: data
  })
}
// 获取首页弹出html
export const findHtmlList = (data) => {
  return axios.request({
    url: '/api/as/grid/auditshowhtml/findHtmlList',
    method: 'post',
    data: data
  })
}
// 获取首页弹出html
export const getHtml1 = (data) => {
  return axios.request({
    url: '/api/as/csc/auditshowhtml/getHtml1',
    method: 'post',
    data: data
  })
}
// 获取首页弹出html
export const savelog = (data) => {
  return axios.request({
    url: '/api/as/grid/auditshowhtml/savelog',
    method: 'post',
    data: data
  })
}
export const itemTypeList = (data) => {
  return axios.request({
    url: '/api/as/grid/audititem/itemTypeList',
    method: 'post',
    data: data
  })
}
export const findDepositList = (data) => {
  return axios.request({
    url: '/api/as/grid/auditDocumentDeposit/findDepositList',
    method: 'post',
    data: data
  })
}
export const updateDeposit = (data) => {
  return axios.request({
    url: '/api/as/grid/auditDocumentDeposit/updateDeposit',
    method: 'post',
    data: data
  })
}
export const findDZZMList = (data) => {
  return axios.request({
    url: '/api/as/grid/auditDocumentDeposit/findDZZMList',
    method: 'post',
    data: data
  })
}
export const findItemVersionList = (data) => {
  return axios.request({
    url: '/api/as/grid/auditDocumentDeposit/findItemVersionList',
    method: 'post',
    data: data
  })
}

export const getJyzDzzzUrl = (data) => {
  return axios.request({
    url: '/api/ac/grid/auditJyzDzzzService/updateJyzDzzzUrl',
    method: 'post',
    data: data
  })
}
export const saveImportantdocument = (data) => {
  return axios.request({
    url: '/api/as/grid/auditDocumentDeposit/saveImportantdocument',
    method: 'post',
    data: data
  })
}
export const findDictList = (data) => {
  return axios.request({
    url: '/api/ac/grid/dictService/findDictList',
    method: 'post',
    data: data
  })
}
export const DictList = (data) => {
  return axios.request({
    url: '/api/as/grid/auditDocumentDeposit/findDictList',
    method: 'post',
    data: data
  })
}
export const saveDict = (data) => {
  return axios.request({
    url: '/api/as/grid/auditDocumentDeposit/saveDict',
    method: 'post',
    data: data
  })
}
export const updateDict = (data) => {
  return axios.request({
    url: '/api/as/grid/auditDocumentDeposit/updateDict',
    method: 'post',
    data: data
  })
}
export const deleteDict = (data) => {
  return axios.request({
    url: '/api/as/grid/auditDocumentDeposit/deleteDict',
    method: 'post',
    data: data
  })
}
export const findPhoneList = (data) => {
  return axios.request({
    url: '/api/as/grid/auditnotice/findPhoneList',
    method: 'post',
    data: data
  })
}
export const findOfficeLevelList = (data) => {
  return axios.request({
    url: '/api/ac/grid/sysOfficeLevelService/findOfficeLevelList',
    method: 'post',
    data: data
  })
}
export const findSubordinateList = (data) => {
  return axios.request({
    url: '/api/ac/grid/sysOfficeLevelService/findSubordinateList',
    method: 'post',
    data: data
  })
}
export const insertCoordinate = (data) => {
  return axios.request({
    url: '/api/ac/grid/sysOfficeLevelService/Coordinate',
    method: 'post',
    data: data
  })
}
export const findTreeList = (data) => {
  return axios.request({
    url: '/api/ac/grid/sysOfficeLevelService/findTreeList',
    method: 'post',
    data: data
  })
}
export const createFloor = (data) => {
  return axios.request({
    url: '/api/ac/grid/sysOfficeLevelService/createFloor',
    method: 'post',
    data: data
  })
}
export const updateDoorplate = (data) => {
  return axios.request({
    url: '/api/as/grid/sysOfficeinfo/updateDoorplate',
    method: 'post',
    data: data
  })
}
export const deleteDoorplate = (data) => {
  return axios.request({
    url: '/api/as/grid/sysOfficeinfo/deleteDoorplate',
    method: 'post',
    data: data
  })
}
export const updateFloor = (data) => {
  return axios.request({
    url: '/api/as/grid/sysOfficeinfo/updateFloor',
    method: 'post',
    data: data
  })
}
export const deleteFloor = (data) => {
  return axios.request({
    url: '/api/ac/grid/sysOfficeLevelService/deleteFloor',
    method: 'post',
    data: data
  })
}
export const createFloorDoorplate = (data) => {
  return axios.request({
    url: '/api/ac/grid/sysOfficeLevelService/createFloorDoorplate',
    method: 'post',
    data: data
  })
}
export const updateFloorSort = (data) => {
  return axios.request({
    url: '/api/ac/grid/sysOfficeLevelService/updateFloorSort',
    method: 'post',
    data: data
  })
}
export const getStatistics = (data) => {
  return axios.request({
    url: '/api/ac/grid/sysOfficeLevelService/getStatistics',
    method: 'post',
    data: data
  })
}
export const findGridUserList = (data) => {
  return axios.request({
    url: '/api/as/grid/sysOfficeinfo/findUserList',
    method: 'post',
    data: data
  })
}
export const getUserInfoByCardNo = (data) => {
  return axios.request({
    url: '/api/as/grid/sysOfficeinfo/getUserInfoByCardNo',
    method: 'post',
    data: data
  })
}
export const findDoorplateUserList = (data) => {
  return axios.request({
    url: '/api/as/grid/sysOfficeinfo/findDoorplateUserList',
    method: 'post',
    data: data
  })
}
export const findGardenList = (data) => {
  return axios.request({
    url: '/api/as/grid/sysOfficeinfo/findGardenList',
    method: 'post',
    data: data
  })
}
export const findBuildingList = (data) => {
  return axios.request({
    url: '/api/as/grid/sysOfficeinfo/findBuildingList',
    method: 'post',
    data: data
  })
}
export const findUnitList = (data) => {
  return axios.request({
    url: '/api/as/grid/sysOfficeinfo/findUnitList',
    method: 'post',
    data: data
  })
}
export const findFloorList = (data) => {
  return axios.request({
    url: '/api/as/grid/sysOfficeinfo/findFloorList',
    method: 'post',
    data: data
  })
}
export const findDoorplateList = (data) => {
  return axios.request({
    url: '/api/as/grid/sysOfficeinfo/findDoorplateList',
    method: 'post',
    data: data
  })
}
export const getGridUserInfo = (data) => {
  return axios.request({
    url: '/api/as/grid/sysOfficeinfo/getGridUserInfo',
    method: 'post',
    data: data
  })
}
export const createGridUserInfo = (data) => {
  return axios.request({
    url: '/api/ac/grid/sysOfficeLevelService/createGridUserInfo',
    method: 'post',
    data: data
  })
}
export const getOfficeInfoByCompanyCode = (data) => { // 获取社区网格信息
  return axios.request({
    url: '/api/ac/grid/sysOfficeLevelService/getOfficeInfoByCompanyCode',
    method: 'post',
    data: data
  })
}
export const mzMenulist = (data) => {
  return axios.request({
    url: '/api/ac/sc/menuService/mzMenulist?menu_id=' + data,
    method: 'get'
  })
}
// 查询全部网格
export const findAllGridList = (data) => {
  return axios.request({
    url: '/api/as/grid/sysOfficeinfo/findAllGridList',
    method: 'post',
    data: data
  })
}
export const findGridGardenList = (data) => {
  return axios.request({
    url: '/api/as/grid/sysOfficeinfo/findGridGardenList',
    method: 'post',
    data: data
  })
}
export const getGridByGardenId = (data) => {
  return axios.request({
    url: '/api/ac/grid/sysOfficeLevelService/getGridByGardenId',
    method: 'post',
    data: data
  })
}
export const getGardenByCoordinates = (data) => {
  return axios.request({
    url: '/api/as/grid/sysOfficeinfo/getGardenByCoordinates',
    method: 'post',
    data: data
  })
}
export const findGardenXJList = (data) => {
  return axios.request({
    url: '/api/as/grid/sysOfficeinfo/findGardenXJList',
    method: 'post',
    data: data
  })
}
export const findBuildingXJList = (data) => {
  return axios.request({
    url: '/api/as/grid/sysOfficeinfo/findBuildingXJList',
    method: 'post',
    data: data
  })
}
export const findUnitXJList = (data) => {
  return axios.request({
    url: '/api/as/grid/sysOfficeinfo/findUnitXJList',
    method: 'post',
    data: data
  })
}
export const findFloorXJList = (data) => {
  return axios.request({
    url: '/api/as/grid/sysOfficeinfo/findFloorXJList',
    method: 'post',
    data: data
  })
}
export const getBuildingByCoordinates = (data) => {
  return axios.request({
    url: '/api/as/grid/sysOfficeinfo/getBuildingByCoordinates',
    method: 'post',
    data: data
  })
}
export const findCommunityXJList = (data) => {
  return axios.request({
    url: '/api/as/grid/sysOfficeinfo/findCommunityXJList',
    method: 'post',
    data: data
  })
}
export const findUserGridList = (data) => {
  return axios.request({
    url: '/api/ac/grid/userGridService/findUserGridList',
    method: 'post',
    data: data
  })
}
export const deleteUserGrid = (data) => {
  return axios.request({
    url: '/api/as/grid/userGrid/deleteUserGrid',
    method: 'post',
    data: data
  })
}
export const saveUserGrid = (data) => {
  return axios.request({
    url: '/api/ac/grid/userGridService/getsaveUserGrid',
    method: 'post',
    data: data
  })
}
export const updateUserGrid = (data) => {
  return axios.request({
    url: '/api/ac/grid/userGridService/getupdateUserGrid',
    method: 'post',
    data: data
  })
}
export const findSelectOfficList = (data) => {
  return axios.request({
    url: '/api/ac/grid/gridLevelService/findSelectOfficList',
    method: 'post',
    data: data
  })
}
export const getSuperior = (data) => {
  return axios.request({
    url: '/api/ac/grid/gridLevelService/getSuperior',
    method: 'post',
    data: data
  })
}
export const findGridAllList = (data) => {
  return axios.request({
    url: '/api/ac/grid/gridLevelService/findGridAllList',
    method: 'post',
    data: data
  })
}
export const getGridInfo = (data) => {
  return axios.request({
    url: '/api/ac/grid/gridLevelService/getGridInfo',
    method: 'post',
    data: data
  })
}
export const findMerchantList = (data) => {
  return axios.request({
    url: '/api/as/grid/gridLevel/findMerchantList',
    method: 'post',
    data: data
  })
}
export const addPlace = (data) => {
  return axios.request({
    url: '/api/ac/grid/gridLevelService/addPlace',
    method: 'post',
    data: data
  })
}
export const deletePlace = (data) => {
  return axios.request({
    url: '/api/as/grid/gridLevel/deletePlace',
    method: 'post',
    data: data
  })
}
export const getPaintGridNum = (data) => {
  return axios.request({
    url: '/api/as/grid/sysOfficeinfo/getPaintGridNum',
    method: 'post',
    data: data
  })
}
export const getlnandla = (data) => {
  return axios.request({
    url: '/api/ac/grid/sysOfficeLevelService/getMapJsonByCompanyCode',
    method: 'post',
    data: data
  })
}
export const getdata = (data) => {
  return axios.request({
    url: '/api/as/grid/userGrid/findTeShuList',
    method: 'post',
    data: data
  })
}
export const findFocusPeopleList = (data) => {
  return axios.request({
    url: '/api/as/grid/user/findFocusPeopleList',
    method: 'post',
    data: data
  })
}
export const findVisitPeopleList = (data) => {
  return axios.request({
    url: '/api/as/grid/user/findVisitPeopleList',
    method: 'post',
    data: data
  })
}
export const finddisputespeoplelist = (data) => {
  return axios.request({
    url: '/api/as/grid/user/finddisputespeoplelist',
    method: 'post',
    data: data
  })
}
export const getUserDetailInfo = (data) => {
  return axios.request({
    url: '/api/as/grid/user/getUserDetailInfo',
    method: 'post',
    data: data
  })
}
export const addSociety = (data) => {
  return axios.request({
    url: '/api/ac/grid/gridLevelService/addSociety',
    method: 'post',
    data: data
  })
}
export const findSocietyList = (data) => {
  return axios.request({
    url: '/api/as/grid/gridLevel/findSocietyList',
    method: 'post',
    data: data
  })
}
export const deleteSociety = (data) => {
  return axios.request({
    url: '/api/as/grid/gridLevel/deleteSociety',
    method: 'post',
    data: data
  })
}
export const importExcelInfo = (url, data) => {
  return axios.request({
    url: url,
    method: 'post',
    data: data
  })
}
export const getRuHuPeopleNum = (data) => {
  return axios.request({
    url: '/api/ac/grid/gridStatisticsService/getRuHuPeopleNum',
    method: 'post',
    data: data
  })
}
export const getGridGardenById = (data) => {
  return axios.request({
    url: '/api/as/grid/sysOfficeinfo/getGridGardenById',
    method: 'post',
    data: data
  })
}
export const findTeShuList = (data) => {
  return axios.request({
    url: '/api/as/grid/userGrid/findTeShuList',
    method: 'post',
    data: data
  })
}
export const distance = (data) => {
  return axios.request({
    url: '/api/ac/grid/importGridUserInfoService/distance',
    method: 'post',
    data: data
  })
}

export const getItemTypeList = (data) => {
  return axios.request({
    // url: '/api/ac/cscpub/infaceService/getItemTypeList',
    url: 'http://iviewpub.tripln.top/api/ac/cscpub/infaceService/getItemTypeList',
    method: 'post',
    data: data
  })
}
export const getManagementInfo = (data) => {
  return axios.request({
    url: 'http://iviewpub.tripln.top/api/ac/cscpub/infaceService/getManagementInfo',
    method: 'post',
    data: data
  })
}
export const getEvaList = (data) => {
  return axios.request({
    url: 'http://iviewpub.tripln.top/api/ac/cscpub/infaceService/getEvaList',
    method: 'post',
    data: data
  })
}
export const getAllPeopleNum = (data) => {
  return axios.request({
    url: 'api/as/grid/user/getAllPeopleNum',
    method: 'post',
    data: data
  })
}
export const getUserListNum = (data) => {
  return axios.request({
    url: 'api/as/grid/user/getUserListNum',
    method: 'post',
    data: data
  })
}
export const findSubstanceList = (data) => {
  return axios.request({
    url: 'api/as/grid/gridLevel/findSubstanceList',
    method: 'post',
    data: data
  })
}
export const deleteSubstance = (data) => {
  return axios.request({
    url: 'api/as/grid/gridLevel/deleteSubstance',
    method: 'post',
    data: data
  })
}
export const updateSubstance = (data) => {
  return axios.request({
    url: 'api/as/grid/gridLevel/updateSubstance',
    method: 'post',
    data: data
  })
}
export const insertSubstance = (data) => {
  return axios.request({
    url: 'api/as/grid/gridLevel/insertSubstance',
    method: 'post',
    data: data
  })
}
export const findManagerList = (data) => {
  return axios.request({
    url: 'api/ac/grid/gridLevelService/findManagerList',
    method: 'post',
    data: data
  })
}
export const saveManager = (data) => {
  return axios.request({
    url: 'api/ac/grid/gridLevelService/saveManager',
    method: 'post',
    data: data
  })
}
export const getTeShuNum = (data) => {
  return axios.request({
    url: 'api/as/grid/userGrid/getTeShuNum',
    method: 'post',
    data: data
  })
}
export const getTsNum = (data) => {
  return axios.request({
    url: 'api/ac/grid/importGridUserInfoService/getTsNum',
    method: 'post',
    data: data
  })
}
export const getGridPeopleRHExcel = (data) => {
  return axios.request({
    url: 'api/as/grid/userGrid/getGridPeopleRHExcel',
    method: 'post',
    data: data
  })
}
export const findFailedList = (url, data) => {
  return axios.request({
    url: url,
    method: 'post',
    data: data
  })
}
export const findBuildingListByCommunity = (data) => {
  return axios.request({
    url: 'api/ac/grid/sysOfficeLevelService/findBuildingListByCommunity',
    method: 'post',
    data: data
  })
}
export const deleteGridInfo = (data) => {
  return axios.request({
    url: 'api/ac/grid/deleteGridService/deleteGridInfo',
    method: 'post',
    data: data
  })
}
export const disposeGridScope = (data) => {
  return axios.request({
    url: 'api/ac/grid/sysOfficeLevelService/disposeGridScope',
    method: 'post',
    data: data
  })
}
export const getKGHNum = (data) => {
  return axios.request({
    url: 'api/as/grid/sysOfficeinfo/getKGHNum',
    method: 'post',
    data: data
  })
}
export const findBindingList = (data) => {
  return axios.request({
    url: 'api/ac/grid/gridLevelService/findBindingList',
    method: 'post',
    data: data
  })
}
export const updateBinding = (data) => {
  return axios.request({
    url: 'api/ac/grid/gridLevelService/updateBinding',
    method: 'post',
    data: data
  })
}
export const findXQList = (data) => {
  return axios.request({
    url: 'api/as/grid/gridLevel/findXQList',
    method: 'post',
    data: data
  })
}
export const savexqInfo = (data) => {
  return axios.request({
    url: '/api/ac/grid/gridLevelService/savexqInfo',
    method: 'post',
    data: data
  })
}
export const findLabelList = (data) => {
  return axios.request({
    url: '/api/as/grid/focusgroup/findLabelList',
    method: 'post',
    data: data
  })
}
export const findFocuGroupList = (data) => {
  return axios.request({
    url: '/api/ac/grid/focusGroupService/findFocuGroupList',
    method: 'post',
    data: data
  })
}
export const saveFoucsGroup = (data) => {
  return axios.request({
    url: '/api/as/grid/focusgroup/saveFoucsGroup',
    method: 'post',
    data: data
  })
}
export const deleteFoucsGroup = (data) => {
  return axios.request({
    url: '/api/as/grid/focusgroup/deleteFoucsGroup',
    method: 'post',
    data: data
  })
}
export const findUserFocusGroupList = (data) => {
  return axios.request({
    url: '/api/as/grid/focusgroup/findUserFocusGroupList',
    method: 'post',
    data: data
  })
}
export const getCompanyInfo = (data) => {
  return axios.request({
    url: '/api/ac/grid/gridScopeService/getCompanyInfo',
    method: 'post',
    data: data
  })
}
export const disposeCompanyScope = (data) => {
  return axios.request({
    url: '/api/ac/grid/gridScopeService/disposeCompanyScope',
    method: 'post',
    data: data
  })
}
export const findCompanyScopeList = (data) => {
  return axios.request({
    url: '/api/ac/grid/gridScopeService/findCompanyScopeList',
    method: 'post',
    data: data
  })
}
export const findFocusGroupLabelList = (data) => {
  return axios.request({
    url: '/api/as/grid/focusgroup/findFocusGroupLabelList',
    method: 'post',
    data: data
  })
}
export const deleteUserFocusGroup = (data) => {
  return axios.request({
    url: '/api/as/grid/focusgroup/deleteUserFocusGroup',
    method: 'post',
    data: data
  })
}
export const savePeopleFocusGroup = (data) => {
  return axios.request({
    url: '/api/ac/grid/focusGroupService/savePeopleFocusGroup',
    method: 'post',
    data: data
  })
}
export const findCompanyScopeByGradeList = (data) => {
  return axios.request({
    url: '/api/ac/grid/gridScopeService/findCompanyScopeByGradeList',
    method: 'post',
    data: data
  })
}
export const getCompanyInfoByCompanyScope = (data) => {
  return axios.request({
    url: '/api/ac/grid/gridScopeService/getCompanyInfoByCompanyScope',
    method: 'post',
    data: data
  })
}
export const findUserGridInfoList = (data) => {
  return axios.request({
    url: '/api/as/grid/userGrid/findUserGridInfoList',
    method: 'post',
    data: data
  })
}
export const findBuidingRuhuList = (data) => {
  return axios.request({
    url: '/api/as/grid/sysOfficeinfo/findBuidingRuhuList',
    method: 'post',
    data: data
  })
}
export const findFocusGroupNumList = (data) => {
  return axios.request({
    url: '/api/as/grid/userGrid/findFocusGroupNumList',
    method: 'post',
    data: data
  })
}
export const getUserTypeNum = (data) => {
  return axios.request({
    url: '/api/ac/grid/userTypeNumService/getUserTypeNum',
    method: 'post',
    data: data
  })
}
export const getUserCzNum = (data) => {
  return axios.request({
    url: '/api/ac/grid/userTypeNumService/getUserCzNum',
    method: 'post',
    data: data
  })
}
// 查询重点人群标签
export const findPersonnelLabelInfoList = (data) => {
  return axios.request({
    url: '/api/as/grid/personnelInformation/findPersonnelLabelInfoList',
    method: 'post',
    data: data
  })
}
// 重点标签字典
export const getTypeName = (data) => {
  return axios.request({
    url: '/api/as/grid/personnelInformation/getTypeNameList',
    method: 'post',
    data: data
  })
}
// 查询模块
export const findGridModuleList = (data) => {
  return axios.request({
    url: '/api/as/grid/gridModule/findGridModuleList',
    method: 'post',
    data: data
  })
}
export const findFloorDoorplateList = (data) => {
  return axios.request({
    url: '/api/ac/grid/gridModuleServiceImpl/findFloorDoorplateList',
    method: 'post',
    data: data
  })
}
export const findModuleUserList = (data) => {
  return axios.request({
    url: '/api/as/grid/gridModule/findModuleUserList',
    method: 'post',
    data: data
  })
}
export const findDoorplatePeopleList = (data) => {
  return axios.request({
    url: '/api/ac/grid/gridModuleServiceImpl/findDoorplatePeopleList',
    method: 'post',
    data: data
  })
}
export const findModuleList = (data) => {
  return axios.request({
    url: '/api/ac/grid/gridModuleServiceImpl/findModuleList',
    method: 'post',
    data: data
  })
}
export const saveModule = (data) => {
  return axios.request({
    url: '/api/as/grid/gridModule/saveModule',
    method: 'post',
    data: data
  })
}
export const findPeopleFocusGroupLabelList = (data) => {
  return axios.request({
    url: '/api/ac/grid/focusGroupService/findPeopleFocusGroupLabelList',
    method: 'post',
    data: data
  })
}
export const findPeopleFocusGroupLInfoList = (data) => {
  return axios.request({
    url: '/api/ac/grid/focusGroupService/findPeopleFocusGroupLInfoList',
    method: 'post',
    data: data
  })
}
export const findFocusGroupMapList = (data) => {
  return axios.request({
    url: '/api/as/grid/focusgroup/findFocusGroupMapList',
    method: 'post',
    data: data
  })
}
export const findUserTypeLogList = (data) => {
  return axios.request({
    url: '/api/as/grid/userGrid/findUserTypeLogList',
    method: 'post',
    data: data
  })
}
export const getUserTypeNumList = (data) => {
  return axios.request({
    url: '/api/as/grid/user/getUserTypeNum',
    method: 'post',
    data: data
  })
}
export const getJuZhuTypeNumList = (data) => {
  return axios.request({
    url: '/api/as/grid/user/getJuZhuTypeNum',
    method: 'post',
    data: data
  })
}
export const getAllPeopleUserTypeNum = (data) => {
  return axios.request({
    url: '/api/as/grid/user/getAllPeopleUserTypeNum',
    method: 'post',
    data: data
  })
}
export const getAllPeopleJuZhuTypeNum = (data) => {
  return axios.request({
    url: '/api/as/grid/user/getAllPeopleJuZhuTypeNum',
    method: 'post',
    data: data
  })
}
export const getCunNum = (data) => {
  return axios.request({
    url: '/api/ac/grid/sysOfficeLevelService/getCunNum',
    method: 'post',
    data: data
  })
}
export const saveUserYmReason = (data) => {
  return axios.request({
    url: '/api/as/grid/user/saveUserYmReason',
    method: 'post',
    data: data
  })
}
// 资源图
export const deleteResourceMap = (data) => {
  return axios.request({
    url: '/api/as/grid/resourcemap/deleteResourceMap',
    method: 'post',
    data: data
  })
}
export const findResourceMapList = (data) => {
  return axios.request({
    url: '/api/ac/grid/resourceMapService/findResourceMapList',
    method: 'post',
    data: data
  })
}
export const findResourceMapLabelList = (data) => {
  return axios.request({
    url: '/api/as/grid/resourcemap/findResourceMapLabelList',
    method: 'post',
    data: data
  })
}
export const getPlaceByCscmapjson = (data) => {
  return axios.request({
    url: '/api/as/grid/gridLevel/getPlaceByCscmapjson',
    method: 'post',
    data: data
  })
}
export const getSocietyByCscmapjson = (data) => {
  return axios.request({
    url: '/api/as/grid/gridLevel/getSocietyByCscmapjson',
    method: 'post',
    data: data
  })
}
export const getSubstanceByCscmapjson = (data) => {
  return axios.request({
    url: '/api/as/grid/gridLevel/getSubstanceByCscmapjson',
    method: 'post',
    data: data
  })
}
export const findGridTypeList = (data) => {
  return axios.request({
    url: '/api/ac/grid/gridModuleServiceImpl/findGridTypeList',
    method: 'post',
    data: data
  })
}
export const findMerchantByMapList = (data) => {
  return axios.request({
    url: '/api/as/grid/gridLevel/findMerchantByMapList',
    method: 'post',
    data: data
  })
}
export const findSocietyByMapList = (data) => {
  return axios.request({
    url: '/api/as/grid/gridLevel/findSocietyByMapList',
    method: 'post',
    data: data
  })
}
export const findSubstanceByMapList = (data) => {
  return axios.request({
    url: '/api/as/grid/gridLevel/findSubstanceByMapList',
    method: 'post',
    data: data
  })
}
export const saveResourceMap = (data) => {
  return axios.request({
    url: '/api/as/grid/resourcemap/saveResourceMap',
    method: 'post',
    data: data
  })
}
// export const findGridZYList = (data) => {
//   return axios.request({
//     url: '/api/as/grid/gridLevel/findGridZYList',
//     method: 'post',
//     data: data
//   })
// }
export const addGridType = (data) => {
  return axios.request({
    url: '/api/ac/grid/gridModuleServiceImpl/addGridType',
    method: 'post',
    data: data
  })
}
export const updateGridType = (data) => {
  return axios.request({
    url: '/api/ac/grid/gridModuleServiceImpl/updateGridType',
    method: 'post',
    data: data
  })
}
export const findGridZYList = (data) => {
  return axios.request({
    url: '/api/as/grid/gridLevel/findGridZYList',
    method: 'post',
    data: data
  })
}
export const updateTransferGrid = (data) => {
  return axios.request({
    url: '/api/ac/grid/transferGridService/updateTransferGrid',
    method: 'post',
    data: data
  })
}
export const findTransferList = (data) => {
  return axios.request({
    url: '/api/as/grid/transferGrid/findTransferList',
    method: 'post',
    data: data
  })
}
export const updateTransferExamineType = (data) => {
  return axios.request({
    url: '/api/ac/grid/transferGridService/updateTransferExamineType',
    method: 'post',
    data: data
  })
}
